#! /usr/bin/env python
# -*- coding: utf8 -*-

import fuse 
import sys

import fs

usage = """
XMLfuse: Userspace Filesystem abstraction of XML files.
""" + fuse.Fuse.fusage


def main():
    server = fs.XMLfuse(version="%prog " + fuse.__version__, usage=usage, 
                        dash_s_do='setsingle')
                        
    server.parser.add_option(mountopt="file", metavar="PATH", default="file.xml",
                             help="")
    server.parse(errex=1)
    server.main()

if __name__ == '__main__':
    main()